.class Lcom/estrongs/android/util/k0$a;
.super Ljava/lang/Thread;
.source "SenderAppStatUtils.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/util/k0;->a(Landroid/content/Context;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroid/content/Context;

.field final synthetic b:Lcom/estrongs/android/util/k0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/util/k0;Landroid/content/Context;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/util/k0$a;->b:Lcom/estrongs/android/util/k0;

    iput-object p2, p0, Lcom/estrongs/android/util/k0$a;->a:Landroid/content/Context;

    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 8

    .line 1
    invoke-super {p0}, Ljava/lang/Thread;->run()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/util/k0$a;->b:Lcom/estrongs/android/util/k0;

    iget-object v1, p0, Lcom/estrongs/android/util/k0$a;->a:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/util/k0;->b(Landroid/content/Context;)J

    move-result-wide v0

    const/4 v2, 0x1

    const-string v3, "compete"

    const-string v4, "sender"

    const-wide/16 v5, 0x0

    cmp-long v7, v0, v5

    if-nez v7, :cond_1

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/util/k0$a;->b:Lcom/estrongs/android/util/k0;

    invoke-virtual {v0}, Lcom/estrongs/android/util/k0;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 4
    invoke-static {}, Les/p00;->c()Les/p00;

    move-result-object v0

    invoke-virtual {v0, v4, v3, v2}, Les/p00;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    .line 5
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/util/k0$a;->b:Lcom/estrongs/android/util/k0;

    iget-object v1, p0, Lcom/estrongs/android/util/k0$a;->a:Landroid/content/Context;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-virtual {v0, v1, v2, v3}, Lcom/estrongs/android/util/k0;->a(Landroid/content/Context;J)V

    goto :goto_0

    .line 6
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/util/k0$a;->b:Lcom/estrongs/android/util/k0;

    iget-object v1, p0, Lcom/estrongs/android/util/k0$a;->a:Landroid/content/Context;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/util/k0;->b(Landroid/content/Context;)J

    move-result-wide v0

    .line 7
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v5

    sub-long/2addr v5, v0

    const-wide/32 v0, 0x5265c00

    .line 8
    div-long/2addr v5, v0

    const-wide/16 v0, 0xe

    cmp-long v7, v5, v0

    if-ltz v7, :cond_3

    .line 9
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/util/k0$a;->b:Lcom/estrongs/android/util/k0;

    invoke-virtual {v0}, Lcom/estrongs/android/util/k0;->a()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 10
    invoke-static {}, Les/p00;->c()Les/p00;

    move-result-object v0

    invoke-virtual {v0, v4, v3, v2}, Les/p00;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    .line 11
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/util/k0$a;->b:Lcom/estrongs/android/util/k0;

    iget-object v1, p0, Lcom/estrongs/android/util/k0$a;->a:Landroid/content/Context;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-virtual {v0, v1, v2, v3}, Lcom/estrongs/android/util/k0;->a(Landroid/content/Context;J)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 12
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    :cond_3
    :goto_0
    return-void
.end method
